﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace WisDom.SmartTMS.Entity
{
    /// <summary>
    /// 离职办理
    /// </summary>
    public class LeaveDeal: BasicAggregateRoot<Guid>
    {
        //构造函数(读)
        public LeaveDeal()
        {

        }

        /// <summary>
        /// 添加
        /// </summary>
        public LeaveDeal(Guid Id, string LDName, string DpID, string Position, string Principal, DateTime EntryTimes, DateTime LastDay, string Reasons, string ApprovalStatus, DateTime CreateTimes)
        {
            this.Id = Id;
            this.LDName = LDName;
            this.DpID = DpID;
            this.Position = Position;
            this.Principal = Principal;
            this.EntryTimes = EntryTimes;
            this.LastDay = LastDay;
            this.Reasons = Reasons;
            this.ApprovalStatus = ApprovalStatus;
            this.CreateTimes = CreateTimes;
        }

        //姓名
        public string LDName { get; private set; }
        //部门
        public string DpID { get; private set; }
        //职位
        public string Position { get; private set; }
        //上级负责人
        public string Principal { get; private set; }
        //入职时间
        public DateTime EntryTimes { get; private set; }
        //最后工作日
        public DateTime LastDay { get; private set; }
        //离职原因
        public string Reasons { get; private set; }
        //审批状态
        public string ApprovalStatus { get; private set; }
        //创建时间
        public DateTime CreateTimes { get; private set; }

       
    }
}
